Skip to content

upcoming: [DI-25634] - Added linode_id to label translation in cloudpulse graph#12558

Merged
nikhagra-akamai merged 10 commits intolinode:developfrom
nikhagra-akamai:metric/linode-id-label-translation
Jul 26, 2025
Merged

upcoming: [DI-25634] - Added linode_id to label translation in cloudpulse graph#12558
nikhagra-akamai merged 10 commits intolinode:developfrom
nikhagra-akamai:metric/linode-id-label-translation

Conversation

@nikhagra-akamai
Copy link
Contributor

@nikhagra-akamai nikhagra-akamai commented Jul 23, 2025

Description 📝

Translating linode id coming as part of metrics API response is translated for corresponding linode label

Changes 🔄

List any change(s) relevant to the reviewer.

  1. Translating entities object coming as part of firewall resource query to linodeId to label pair for constant time access
  2. Converting linode id to label while generating dimension name

Target release date 🗓️

12th August

Preview 📷

Include a screenshot or screen recording of the change.

🔒 Use the Mask Sensitive Data setting for security.

💡 Use <video src="" /> tag when including recordings in table.

Before After
Screenshot 2025-07-23 at 6 42 40 PM Screenshot 2025-07-23 at 6 42 40 PM

How to test 🧪

  1. Switch to mock user
  2. in CloudPulseDashboard.tsx file, at line 90, pass 'firewall' as service type
  3. You'll see the one of the graph legends there is a linode label and if you use any other service type like linode or dbaas you'll see linode id.
Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

Comment on lines 1 to 5
---
"@linode/manager": Changed
---

ACLP: add `regionId` prop to `filter region scope` alerts, add `isLegacyAlertAvailable` to `show confirmation dialog on save of alerts`, add logic to `hide manage alert button` in `AlertReusableComponent` ([#12558](https://github.com/linode/manager/pull/12558))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changeset for this pr

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this changeset now. See #12577 (comment) and d83a275.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At first glance, it looks like this will only support Linodes using config profile network interfaces. Should we support the firewall device entity type of linode_interface?

Image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, do we need to support NodeBalancers?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes currently it is only linodes only and not for nodebalancers. There's not plan as for now for NB

Copy link
Contributor

@jaalah-akamai jaalah-akamai Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikhagra-akamai what about his question?

Should we support the firewall device entity type of linode_interface?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just confirmed with Kiran, we are only translating linode and not linode_interface

@cpathipa cpathipa added the Add'tl Approval Needed Waiting on another approval! label Jul 25, 2025
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #8 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing688 Passing5 Skipped123m 14s

Details

Failing Tests
SpecTest
object-storage.e2e.spec.tsCloud Manager Cypress Tests→object storage end-to-end tests » object storage end-to-end tests

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/objectStorage/object-storage.e2e.spec.ts"

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Jul 25, 2025
@nikhagra-akamai nikhagra-akamai merged commit 6ff6446 into linode:develop Jul 26, 2025
34 of 35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants